#! /usr/bin/env python
# -*- coding: utf-8 -*-

# *************************************************************
#  Copyright (c) Huoty - All rights reserved
#
#      Author: Huoty <sudohuoty@gmail.com>
#  CreateTime: 2017-05-19 16:29:57
# *************************************************************


class Foo(object):
    def x(self):
        print 'Foo'

class Foo2(Foo):
    def x(self):
        print 'Foo2'
        super(self.__class__, self).x() # wrong

class Foo3(Foo2):
    def x(self):
        print 'Foo3'
        super(Foo3, self).x()

f = Foo3()
f.x()
